/**
 * 学习管理路由
 */
export default [
  {
    path: '/learning',
    meta: { requiresAuth: true },
    children: [
      {
        path: 'courses',
        name: 'LearningCourses',
        component: () => import('@/views/learning/Courses.vue'),
        meta: { title: '课程中心' }
      },
      {
        path: 'my-courses',
        name: 'LearningMyCourses',
        component: () => import('@/views/learning/MyCourses.vue'),
        meta: { title: '我的课程' }
      },
      {
        path: 'study-records',
        name: 'LearningStudyRecords',
        component: () => import('@/views/learning/StudyRecords.vue'),
        meta: { title: '学习记录' }
      },
      {
        path: 'exams',
        name: 'LearningExams',
        component: () => import('@/views/learning/Exams.vue'),
        meta: { title: '在线考试' }
      },
      {
        path: 'certificates',
        name: 'LearningCertificates',
        component: () => import('@/views/learning/Certificates.vue'),
        meta: { title: '我的证书' }
      },
      {
        path: 'knowledge',
        name: 'LearningKnowledge',
        component: () => import('@/views/learning/Knowledge.vue'),
        meta: { title: '知识库' }
      },
      {
        path: 'training-plans',
        name: 'LearningTrainingPlans',
        component: () => import('@/views/learning/TrainingPlans.vue'),
        meta: { title: '培训计划' }
      },
      {
        path: 'rankings',
        name: 'LearningRankings',
        component: () => import('@/views/learning/Rankings.vue'),
        meta: { title: '学习排行' }
      },
      {
        path: 'course-manage',
        name: 'LearningCourseManage',
        component: () => import('@/views/learning/CourseManage.vue'),
        meta: { title: '课程管理' }
      },
      {
        path: 'exam-manage',
        name: 'LearningExamManage',
        component: () => import('@/views/learning/ExamManage.vue'),
        meta: { title: '考试管理' }
      },
      {
        path: 'question-bank',
        name: 'LearningQuestionBank',
        component: () => import('@/views/learning/QuestionBank.vue'),
        meta: { title: '题库管理' }
      },
      {
        path: 'teacher-manage',
        name: 'LearningTeacherManage',
        component: () => import('@/views/learning/TeacherManage.vue'),
        meta: { title: '讲师管理' }
      },
      {
        path: 'settings',
        name: 'LearningSettings',
        component: () => import('@/views/learning/LearningSettings.vue'),
        meta: { title: '学习设置' }
      },
      // 游戏中心路由
      {
        path: 'games/center',
        name: 'GameCenter',
        component: () => import('@/views/learning/games/GameCenter.vue'),
        meta: { title: '游戏中心' }
      },
      {
        path: 'games/coding-challenge',
        name: 'CodingChallenge',
        component: () => import('@/views/learning/games/CodingChallenge.vue'),
        meta: { title: '编程挑战赛' }
      },
      {
        path: 'games/debug-master',
        name: 'DebugMaster',
        component: () => import('@/views/learning/games/DebugMaster.vue'),
        meta: { title: '代码调试大师' }
      },
      {
        path: 'games/customer-service',
        name: 'CustomerService',
        component: () => import('@/views/learning/games/CustomerService.vue'),
        meta: { title: '客户服务模拟' }
      },
      {
        path: 'games/order-taking',
        name: 'OrderTaking',
        component: () => import('@/views/learning/games/OrderTaking.vue'),
        meta: { title: '点餐服务游戏' }
      },
      {
        path: 'games/production-simulation',
        name: 'ProductionSimulation',
        component: () => import('@/views/learning/games/ProductionSimulation.vue'),
        meta: { title: '生产流程模拟' }
      },
      {
        path: 'games/quiz-challenge',
        name: 'QuizChallenge',
        component: () => import('@/views/learning/games/QuizChallenge.vue'),
        meta: { title: '知识问答大赛' }
      },
      {
        path: 'games/achievements',
        name: 'GameAchievements',
        component: () => import('@/views/learning/games/GameAchievements.vue'),
        meta: { title: '游戏成就' }
      },
      {
        path: 'games/algorithm-puzzle',
        name: 'AlgorithmPuzzle',
        component: () => import('@/views/learning/games/AlgorithmPuzzle.vue'),
        meta: { title: '算法解谜' }
      },
      {
        path: 'games/sales-training',
        name: 'SalesTraining',
        component: () => import('@/views/learning/games/SalesTraining.vue'),
        meta: { title: '销售技巧训练' }
      },
      {
        path: 'games/team-battle',
        name: 'TeamBattle',
        component: () => import('@/views/learning/games/TeamBattle.vue'),
        meta: { title: '团队协作对战' }
      },
      {
        path: 'games/quality-control',
        name: 'QualityControl',
        component: () => import('@/views/learning/games/QualityControl.vue'),
        meta: { title: '质量控制挑战' }
      },
      {
        path: 'games/food-safety',
        name: 'FoodSafety',
        component: () => import('@/views/learning/games/FoodSafety.vue'),
        meta: { title: '食品安全知识竞赛' }
      },
      {
        path: 'games/daily-challenge',
        name: 'DailyChallenge',
        component: () => import('@/views/learning/games/DailyChallenge.vue'),
        meta: { title: '每日挑战' }
      },
      // 新增游戏路由
      {
        path: 'games/finance-analysis',
        name: 'FinanceAnalysis',
        component: () => import('@/views/learning/games/FinanceAnalysis.vue'),
        meta: { title: '财务分析大师' }
      },
      {
        path: 'games/inventory-management',
        name: 'InventoryManagement',
        component: () => import('@/views/learning/games/InventoryManagement.vue'),
        meta: { title: '库存管理模拟' }
      },
      {
        path: 'games/project-management',
        name: 'ProjectManagement',
        component: () => import('@/views/learning/games/ProjectManagement.vue'),
        meta: { title: '项目管理实战' }
      },
      {
        path: 'games/data-analysis',
        name: 'DataAnalysis',
        component: () => import('@/views/learning/games/DataAnalysis.vue'),
        meta: { title: '数据分析挑战' }
      },
      {
        path: 'games/business-negotiation',
        name: 'BusinessNegotiation',
        component: () => import('@/views/learning/games/BusinessNegotiation.vue'),
        meta: { title: '商务谈判模拟' }
      },
      {
        path: 'games/supply-chain-optimization',
        name: 'SupplyChainOptimization',
        component: () => import('@/views/learning/games/SupplyChainOptimization.vue'),
        meta: { title: '供应链优化' }
      },
      // 创意游戏路由
      {
        path: 'games/time-management',
        name: 'TimeManagement',
        component: () => import('@/views/learning/games/TimeManagement.vue'),
        meta: { title: '时间管理大师' }
      },
      {
        path: 'games/crisis-management',
        name: 'CrisisManagement',
        component: () => import('@/views/learning/games/CrisisManagement.vue'),
        meta: { title: '危机处理专家' }
      },
      {
        path: 'games/innovation-workshop',
        name: 'InnovationWorkshop',
        component: () => import('@/views/learning/games/InnovationWorkshop.vue'),
        meta: { title: '创新工坊' }
      },
      {
        path: 'games/customer-profiling',
        name: 'CustomerProfiling',
        component: () => import('@/views/learning/games/CustomerProfiling.vue'),
        meta: { title: '客户画像师' }
      },
      {
        path: 'games/cost-optimization',
        name: 'CostOptimization',
        component: () => import('@/views/learning/games/CostOptimization.vue'),
        meta: { title: '成本优化挑战' }
      },
      // 最新创意游戏路由
      {
        path: 'games/business-model-canvas',
        name: 'BusinessModelCanvas',
        component: () => import('@/views/learning/games/BusinessModelCanvas.vue'),
        meta: { title: '商业模式画布' }
      },
      {
        path: 'games/team-building',
        name: 'TeamBuilding',
        component: () => import('@/views/learning/games/TeamBuilding.vue'),
        meta: { title: '团队建设挑战' }
      },
      {
        path: 'games/marketing-strategy',
        name: 'MarketingStrategy',
        component: () => import('@/views/learning/games/MarketingStrategy.vue'),
        meta: { title: '市场营销策略' }
      },
      {
        path: 'games/digital-transformation',
        name: 'DigitalTransformation',
        component: () => import('@/views/learning/games/DigitalTransformation.vue'),
        meta: { title: '数字化转型' }
      },
      {
        path: 'games/leadership-development',
        name: 'LeadershipDevelopment',
        component: () => import('@/views/learning/games/LeadershipDevelopment.vue'),
        meta: { title: '领导力发展' }
      },
      // 高级创意游戏路由
      {
        path: 'games/business-decision-simulator',
        name: 'BusinessDecisionSimulator',
        component: () => import('@/views/learning/games/BusinessDecisionSimulator.vue'),
        meta: { title: '商业决策模拟器' }
      },
      {
        path: 'games/product-design-workshop',
        name: 'ProductDesignWorkshop',
        component: () => import('@/views/learning/games/ProductDesignWorkshop.vue'),
        meta: { title: '产品设计工坊' }
      },
      {
        path: 'games/resource-allocation',
        name: 'ResourceAllocation',
        component: () => import('@/views/learning/games/ResourceAllocation.vue'),
        meta: { title: '资源分配大师' }
      },
      {
        path: 'games/risk-management',
        name: 'RiskManagement',
        component: () => import('@/views/learning/games/RiskManagement.vue'),
        meta: { title: '风险管理挑战' }
      },
      {
        path: 'games/customer-experience-design',
        name: 'CustomerExperienceDesign',
        component: () => import('@/views/learning/games/CustomerExperienceDesign.vue'),
        meta: { title: '客户体验设计' }
      },
      // 专业技能游戏路由
      {
        path: 'games/pricing-strategy',
        name: 'PricingStrategy',
        component: () => import('@/views/learning/games/PricingStrategy.vue'),
        meta: { title: '价格策略模拟' }
      },
      {
        path: 'games/competitor-analysis',
        name: 'CompetitorAnalysis',
        component: () => import('@/views/learning/games/CompetitorAnalysis.vue'),
        meta: { title: '竞品分析挑战' }
      },
      {
        path: 'games/lean-startup',
        name: 'LeanStartup',
        component: () => import('@/views/learning/games/LeanStartup.vue'),
        meta: { title: '精益创业模拟' }
      },
      {
        path: 'games/communication-master',
        name: 'CommunicationMaster',
        component: () => import('@/views/learning/games/CommunicationMaster.vue'),
        meta: { title: '职场沟通大师' }
      },
      {
        path: 'games/strategy-planner',
        name: 'StrategyPlanner',
        component: () => import('@/views/learning/games/StrategyPlanner.vue'),
        meta: { title: '战略规划师' }
      }
    ]
  }
]

